package com.yugao.fintech.draper.auth.api;

import com.yugao.fintech.draper.common.constant.ServerConstant;
import com.yugao.fintech.draper.core.model.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
@FeignClient(contextId = "departmentFeignApi", value = ServerConstant.DRAPER_ADMIN)
public interface DepartmentFeignApi {

	/**
	 * 获取当前用户的部门名称
	 */
	@GetMapping(value = "/dept/getDeptNameByUserId")
	ResultVO<String> listDeptsByUserId();

}
